//
//  PYImageGalleryImageView.h
//  PictureYourself
//
//  Created by Daniel on 8/30/12.
//
//

#import <UIKit/UIKit.h>

@class PYImageGalleryImageView;

@protocol ThumbnailImageViewSelectionDelegate <NSObject>
- (void)thumbnailImageViewWasSelected:(PYImageGalleryImageView*)thumbnailImageView atIndex:(NSUInteger)index;
- (void)thumbnailImageViewWasDeSelected:(PYImageGalleryImageView*)thumbnailImageView atIndex:(NSUInteger)index;
@end

@interface PYImageGalleryImageView : UIImageView

-(void)setSelection:(BOOL)on :(BOOL)animated;

@property(nonatomic, assign) id<ThumbnailImageViewSelectionDelegate> delegate;
@property NSUInteger index;
@property BOOL is_selected;

@end
